package pl.wroc.pwr.nn;

public class Vector {

	protected int size;
	protected double[] values;
	
	public Vector(double[] values) {
		this.size = values.length;
		this.values = values;
	}

	public int getSize() {
		return size;
	}

	public double[] getValues() {
		return values;
	}
	
	public String toString() {
		StringBuilder sb = new StringBuilder("vec[");
		for (int i = 0; i < values.length; i++) {
			sb.append(values[i]+", ");
		}
		return sb.toString();
		
	}
	
}
